<?php
if(  count( $this->artists ) ):
    foreach( $this->artists AS $artist ) : ?>
        <tr class="selectable" id="artist_<?php echo $artist['artist_id'] ?>">
    	<th>
	    <span><?php echo $artist['artist_name'] ?></span>
    	</th>
    	<td title="Operazioni">
    	    <span class="actions">
		<a class="add" id="add-artist-<?php echo $artist['artist_id']?>" href="#">Aggiungi</a>
    	    </span>
    	</td>
        </tr>
<?php endforeach;
else:
    ?><tr class="result"><td colspan="5">Nessun elemento presente...</td></tr> <?php	
endif;?>